#include "server.h"
#include "chatDatabase.h"
using namespace std;

int main() {

    
    Server* server = new Server("192.168.1.121",8000); 
    server->startServer();
    // server->join();
   /*  ChatDatabase::getInstanceChatDatabase()->my_database_connect("mychat");
    if(ChatDatabase::getInstanceChatDatabase()->my_database_user_exist("14498@qq.com")){
        cout<<"1111"<<endl;
    }
    cout<<"2222"<<endl; */
    //  server->stopServer();
    delete server;
    return 0;
}